package com.tanhua.dubbo.api;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface UserLikeApi {

    //保存或者更新
    Boolean saveOrUpdate(Long userId, Long likeUserId, boolean isLike);

    Map<Long, Boolean> alreadyLove(Long userId, Set<Long> visitorUserId);

    Long count(Long userId);
}
